package net.zjitc.atest.pojo;

import lombok.Data;

@Data
public class Category {
    private Integer id;
    private String name;
    private String picture;
    private Integer pid;
    private String pname;

    /*public Category(Integer id, String name, String picture, Integer pid, String pname) {
        this.id = id;
        this.name = name;
        this.picture = picture;
        this.pid = pid;
        this.pname = pname;
    }
    public Category() {

    }
    @Override
    public String toString() {
        return "Category{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", picture='" + picture + '\'' +
                ", pid=" + pid +
                ", pname='" + pname + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }*/
}
